import React, { useEffect, } from "react"
// import './index.less';
import { Carousel } from "antd"
import { IRouteComponentProps, useSelector, useDispatch } from 'umi'


const contentStyle = {
  height: '160px',
  color: '#fff',
  lineHeight: '160px',
  textAlign: 'center',
  background: '#364d79',
};
const IndexPage: React.FC<IRouteComponentProps> = (props) => {
  const dev = useSelector((state: { index: any; }) => state.index)
  const dispatch = useDispatch()

  useEffect(() => {
    dispatch({
      type: "index/gettags"
    })
  }, [])
  return (
    <div className="index">

    </div>
  );
}
export default IndexPage